// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import VueRouter from 'vue-router';
import {routers} from './routers';
import './common/styles/index.scss';
import VueResource from 'vue-resource';
/* eslint-disable no-new */
Vue.use(VueRouter);
Vue.use(VueResource);
const router = new VueRouter({
    routes: routers,
    linkActiveClass: 'active'
});
new Vue({ 
 el: '#app',
 router,
 render: h => h(App)
});

router.push('/goods');
